package homework.abstracts;

public class C extends B {
    //
    int numc=30;
    //
    public C(){}
    public C(int numa, int numb,int numc){
        super(numa,numb);
        this.numc=numc;
    }
    //
    @Override
    public void showA() {
        System.out.println("A类中numa："+numa);
    }
    @Override
    public void showB() {
        System.out.println("B类中numb："+numb);
    }
    public void showC(){
        System.out.println("C类中numc："+numc);
    }
}
